.masker {
    position: fixed;
    background-color: rgba(0, 0, 0, .5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.dialog-container {
    width: 500px;
    height: 300px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -150px 0 0 -250px;
}

header {
    height: 60px;
    line-height: 60px;
    background-color: darkred;
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: #fff;
}

header>span:nth-child(2) {
    font-size: 30px;
    cursor: pointer;
}

section {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    text-align: right;
    padding-right: 20px;
}

footer>button {
    margin-left: 10px;
    width: 100px;
    height: 30px;
    font-size: 16px;
    outline: none;
    border: none;
    color: #fff;
    background-color: darkblue;
    cursor: pointer;
}